﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using HsTec.DigitalPlatform.DataAccess;

namespace HsTec.DigitalPlatform.Business
{
    public class FolderInfoManager
    {
        FolderInfoRepository folderinforepository = new FolderInfoRepository();

        public void Add(FolderInfo folderinfo)
        {
            folderinforepository.Add(folderinfo);
        }

        public void Delete(FolderInfo folderinfo)
        {
            folderinforepository.Delete(folderinfo);
        }

        public FolderInfo GetFolderInfoByID(int id)
        {
            return folderinforepository.GetFolderInfoByID(id);
        }

        public IQueryable<FolderInfo> FindALLFolderInfo()
        {
            return folderinforepository.FindALLFolderInfo();
        }
    }
}
